package com.hmily.dubbo.consumer.mock;

import com.hmily.dubbo.api.UserUpdateFacade;

/**
 * <h1>UserUpdateFacade mock 类。</h1>
 *
 * @author hmilyylimh
 * ^_^
 * @version 0.0.1
 * ^_^
 * @date 2021-11-29
 */
public class UserUpdateFacadeMock implements UserUpdateFacade {

    @Override
    public String updateUserById(String id, String name) {
        String msg = "mock mock mock, id=" + id + ", name=" + name + ", changed to newName=hmily";
        System.out.println(msg);
        return msg;
    }
}
